package com.wxzhou.wangzhuan.dto.pay;

import java.io.Serializable;

/**
 * 汇付八方scheme
 */
public class HuifuRealnameReq implements Serializable {

    //提现账号微信传openid，支付宝传ali_account
    private String openid;

    //绑定的应用ID
    private String appid;

    //用户唯一账号信息(用户id)
    private String name;
    private String phone;
    private String idcard;

    public HuifuRealnameReq() {
    }

    private HuifuRealnameReq(String openid, String appid, String name, String phone, String idcard) {
        this.openid = openid;
        this.appid = appid;
        this.name = name;
        this.phone = phone;
        this.idcard = idcard;
    }

    public static HuifuRealnameReq create(String openid, String appid, String name, String phone, String idcard) {
        return new HuifuRealnameReq(openid, appid, name, phone, idcard);
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }
}
